#! /usr/bin/env python

# NMDB class
#
# Copyright (C) 2011-2012 Christian T. Steigies <steigies@physik.uni-kiel.de>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

__author__ = "Christian T. Steigies <steigies@physik.uni-kiel.de>"
__license__ = "GPL License"

"""Bartol data format
Copyright (c) 2011-2012 Christian T. Steigies <steigies@physik.uni-kiel.de>
"""

## --------------------------------------------------------------------------
#import MySQLdb # python-mysqldb

import os
import sys
# http://docs.python.org/library/datetime.html
import datetime
import calendar

from tools.datetool import ParseDate

#__all__ = ["", ""]

## --------------------------------------------------------------------------


class nmdb_data(object):
    def __init__(self, dt, length, uncorr, p_mbar, corr_p, corr_e, version=None ):
        """read data of station
        """
        self.datetime = dt
        self.len      = length
        self.u        = uncorr
        self.p        = p_mbar
        self.c        = corr_p
        self.e        = corr_e
        self.version  = version

        
    def show(self):
        """print"""        

        print self.datetime, self.len, self.u, self.p, self.c, self.e, self.version

## --------------------------------------------------------------------------
if __name__=="__main__":
    print "This is the nmdb_class module."

